<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE>
<html>
<head>
<meta charset="UTF-8" />
<title>系统后台 - <?php echo ((isset($meta_title) && ($meta_title !== ""))?($meta_title):"OneThink管理平台"); ?>心</title>
<link rel="stylesheet" type="text/css" href="/tp/Public/Admin/css/quick_menu.css">
<link rel="stylesheet" type="text/css" href="/tp/Public/Admin/css/css.css">
<link rel="stylesheet" type="text/css" href="/tp/Public/Admin/css/hdjs.css">
<script type="text/javascript" src="/tp/Public/Admin/js/jquery-2.1.0.min.js"></script>
<!-- <script type="text/javascript" src="js/admmenu.js"></script>-->
<script type="text/javascript" src="/tp/Public/Admin/js/admin.js"></script>
<script type="text/javascript" src="/tp/Public/Admin/js/quick_menu.js"></script>
</head>
<body>
<div class="nav"> 
  <!--头部左侧导航-->
  <div class="top_menu"> <a href="javascript:" class="bg ">首页</a> <span class="dn">1</span> <a href="javascript:">内容</a> <span class="dn">2</span> <a href="javascript:">会员</a> <span class="dn">3</span> <a href="javascript:" >系统</a> <span class="dn">4</span> </div>
  <!--头部左侧导航--> 
  <!--头部右侧导航-->
  <div class="r_menu"> 
       超级管理员 : <?php echo session('username');?><a href="<?php echo U(GROUP_NAME . '/Index/logout');?>" target="_parent" onClick="javascript:return confirm('确实要退出管理吗?')">[退出]</a> <span>|</span> <a href="javascript:hd_ajax('{|U:'Cache/Cache/update_all'}');">更新全站缓存</a> <span>|</span> <a href="__WEB__" target="_blank">前台首页</a> <span>|</span> <a href="{|U:'Index/Index/index',array('g'=>'Member')}" target="_blank">会员中心</a> </div>
  <!--头部右侧导航--> 
</div>
<!--左侧导航-->
<div class="main">
<!--主体左侧导航-->
<div class="left_menu">
  <div class="left_m" id="1">
    <dl>
      <dt><b>个人信息</b></dt>
      <dd> <a class="action" href="javascript:;">修改密码</a> <span class="dn">Index/userpasswd</span> <a url="" href="javascript:;">修改个人信息</a> <span class="dn">Index/userinfo</span> </dd>
    </dl>
  </div>
  <div class="left_m dn" id="2">
    <dl>
      <dt><b>内容管理</b></dt>
      <dd>
       <a class="action" href="javascript:;">管理内容</a> <span class="dn"><?php echo U('Index/main');?></span> 
       <a href="javascript:;">栏目管理</a> <span class="dn"><?php echo U(GROUP_NAME . '/category/index');?></span> 
       <a href="javascript:;">审核内容</a> <span class="dn">Content/verify</span> </dd>
    </dl>
  </div>
  <div class="left_m dn" id="3">
    <dl>
      <dt><b>会员组管理</b></dt>
      <dd> <a href="javascript:;">管理会员组</a> <span class="dn">Group/index</span> </dd>
    </dl>
    <dl>
      <dt><b>会员管理</b></dt>
      <dd><a href="javascript:;">审核会员</a> <span class="dn">User/index</span> <a href="javascript:;">会员管理</a> <span class="dn">User/list</span> </dd>
    </dl>
  </div>
  <div class="left_m dn" id="4">
    <dl>
      <dt><b>系统设置</b></dt>
      <dd><a href="javascript:;">网站配置</a> <span class="dn">System/index</span> </dd>
    </dl>
    <dl>
      <dt><b>管理员设置</b></dt>
      <dd>
        <a href="javascript:;">用户列表</a> <span class="dn"><?php echo U(GROUP_NAME . '/Rbac/index');?></span>
        <a href="javascript:;">角色列表</a> <span class="dn"><?php echo U(GROUP_NAME . '/Rbac/role');?></span>
        <a href="javascript:;">节点列表</a> <span class="dn"><?php echo U(GROUP_NAME . '/Rbac/node');?></span>
        <a href="javascript:;">添加用户</a> <span class="dn"><?php echo U(GROUP_NAME . '/Rbac/addUser');?></span>
        <a href="javascript:;">添加角色</a> <span class="dn"><?php echo U(GROUP_NAME . '/Rbac/addRole');?></span>
        <a href="javascript:;">添加节点</a> <span class="dn"><?php echo U(GROUP_NAME . '/Rbac/addNode');?></span>
      </dd>
    </dl>
  </div>
  <!--/主体左侧导航--> 
</div>
<!--/左侧导航--> 
<!--内容显示区域-->

<div class="menu_nav">
    <div class="favorite_menu"> <span>当前位置：<?php echo ($meta_title); ?></span> </div>
    <div class="subm"><span></span></div>
  </div>
  <div class="top_content">
    <iframe src="<?php echo U('Index/main');?>" nid="0" scrolling="auto" frameborder="0" style="height: 100%;width: 100%;"></iframe>
  </div>
  <!--内容显示区域--> 
</div>

<div id="quick_menu">
  <div class="set"> <a url="{|U:'Menu/set_favorite'}" onClick="get_content(this,90001)" href="javascript:;" nid="90001">设置</a> </div>
  <div
        style="float:left;width:1px;margin-right:5px;overflow: hidden;background: #999999;height:15px;margin-top:12px;"></div>
  <div class="bottom-menu">
    <list from="$favorite_menu" name="f"> <a url="?a=<?php echo ($f["app"]); ?>&c=<?php echo ($f["control"]); ?>&m=<?php echo ($f["method"]); ?>&nid=<?php echo ($f["nid"]); ?>"
               onclick="get_content(this,<?php echo ($f["nid"]); ?>)" href="javascript:;" nid="<?php echo ($f["nid"]); ?>"><?php echo ($f["title"]); ?></a> </list>
  </div>
  <div class="quick-hide"> <a href="javascript:quick_menu_hide();">隐藏</a> </div>
</div>
<div id="show_quick_menu" onClick="show_quick_menu()"> 显示 </div>
<!--加载后触发第一个顶级菜单--> 
<script>
    $(".left_menu #id=1").trigger("click");
</script>
</body>
</html>